package com.am.file;

import com.am.api.dto.MeetingFileDto;
import com.am.file.service.impl.MeetingFilesServiceImpl;
import lombok.AllArgsConstructor;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

@SpringBootTest
public class test {
    @Autowired
    MeetingFilesServiceImpl meetingFilesService;

    @Test
void set(){
                List<MeetingFileDto> meetingFileDtos = new ArrayList<>();
        meetingFileDtos.add(new MeetingFileDto(1l,"1","1",null));
        Collection<Long> longs = meetingFilesService.saveFile(meetingFileDtos);
        System.out.println(longs);
    }
}
